package com.ssy.lingxi.member.merchant.model.bo;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * 用户登录后，返回给前端的权限
 * @author 万宁
 * @version 2.0.0
 * @date 2021-12-22
 */
public class LoginAuthBO implements Serializable {
    private static final long serialVersionUID = 6815853084281201513L;

    public LoginAuthBO() {
    }

    public LoginAuthBO(String u) {
        this.u = u;
        this.b = new ArrayList<>();
    }

    public LoginAuthBO(String u, List<String> b) {
        this.u = u;
        this.b = b;
    }

    /**
     * 权限菜单Url
     */
    private String u;

    /**
     * 菜单关联的按钮列表
     */
    private List<String> b;

    public String getU() {
        return u;
    }

    public void setU(String u) {
        this.u = u;
    }

    public List<String> getB() {
        return b;
    }

    public void setB(List<String> b) {
        this.b = b;
    }
}
